-
Home
-
Phrase TMS Integration for WordPress
-
3.4.3
-
Code
-
Classes
- ContentController
Total Complexity |
48 |
Dependencies |
16 |
Dependents |
1 |
Total lines |
416 |
Lines of code |
224 |
Logical lines of code |
109 |
Comment lines |
107 |
Methods |
22 |
Properties |
5 |
Methods 22
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
processRequest() |
S |
53 |
7 |
21 |
getItem() |
S |
56 |
4 |
15 |
getTypes() |
S |
61 |
3 |
13 |
storeLastProcessedId() |
S |
62 |
3 |
11 |
getItems() |
S |
62 |
3 |
11 |
registerRestRoutes() |
S |
50 |
1 |
35 |
getInitArgsWithTypeOptional() |
S |
59 |
2 |
15 |
saveTranslation() |
S |
63 |
3 |
9 |
getInitArgs() |
S |
61 |
2 |
14 |
logRequest() |
S |
62 |
2 |
11 |
logError() |
S |
63 |
2 |
11 |
logResponse() |
S |
73 |
2 |
5 |
checkContentType() |
S |
64 |
2 |
10 |
getContentService() |
S |
69 |
2 |
6 |
addContentService() |
S |
67 |
2 |
7 |
addContentServices() |
S |
74 |
2 |
5 |
checkAuth() |
S |
75 |
1 |
4 |
getNamespace() |
S |
81 |
1 |
3 |
getContentServices() |
S |
82 |
1 |
3 |
createResponseData() |
S |
75 |
1 |
5 |
createWPError() |
S |
78 |
1 |
3 |
__construct() |
S |
69 |
1 |
7 |